package com.study.blog.model.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.sql.Timestamp;

@Data
public class AdminLoginDTO implements Serializable {

    /**
     * 用户邮箱
     */
    @NotEmpty(message = "邮箱不能为空")
    @ApiModelProperty(value = "用户邮箱", required = true, example = "123456@qq.com")

    private String email;

    /**
     * 用户密码
     */
    @NotEmpty(message = "密码不能为空")
    @ApiModelProperty(value = "用户密码", required = true, example = "chenjiang")
    private String password;

}
